package model

import "github.com/zeromicro/go-zero/core/stores/sqlx"

var _ UmsMemberCollectSpuModel = (*customUmsMemberCollectSpuModel)(nil)

type (
	// UmsMemberCollectSpuModel is an interface to be customized, add more methods here,
	// and implement the added methods in customUmsMemberCollectSpuModel.
	UmsMemberCollectSpuModel interface {
		umsMemberCollectSpuModel
	}

	customUmsMemberCollectSpuModel struct {
		*defaultUmsMemberCollectSpuModel
	}
)

// NewUmsMemberCollectSpuModel returns a model for the database table.
func NewUmsMemberCollectSpuModel(conn sqlx.SqlConn) UmsMemberCollectSpuModel {
	return &customUmsMemberCollectSpuModel{
		defaultUmsMemberCollectSpuModel: newUmsMemberCollectSpuModel(conn),
	}
}
